package cn.ac.iscas.domain.response.middleplatform;

import java.util.Map;

/**
 * @author lirenshen
 * @version 1.0
 * @date 2022/3/9 8:37
 * @since jdk11
 * 表中列的信息
 */
//@Data
//@Accessors(chain = true)
public class MetaColumnDTO extends MetaColumn {


    //@ApiModelProperty("不同数据库中列的扩展字段")
    private Map<String, Object> extensions;

    //@ApiModelProperty(value = "父类列的类型，隐藏掉", hidden = true)
    private DbColumnType dataType;

    //@ApiModelProperty("列的类型")
    private String columnType;

    //@ApiModelProperty(value = "列的别名")
    private String columnAlias;

    public Map<String, Object> getExtensions() {
        return extensions;
    }

    public void setExtensions(Map<String, Object> extensions) {
        this.extensions = extensions;
    }

    @Override
    public DbColumnType getDataType() {
        return dataType;
    }

    @Override
    public void setDataType(DbColumnType dataType) {
        this.dataType = dataType;
    }

    public String getColumnType() {
        return columnType;
    }

    public void setColumnType(String columnType) {
        this.columnType = columnType;
    }

    public String getColumnAlias() {
        return columnAlias;
    }

    public void setColumnAlias(String columnAlias) {
        this.columnAlias = columnAlias;
    }
}
